
#ifndef SHAFT_H
#define SHAFT_H

#include "Elevator.h";
#include "List.h"

struct Shaft
{
	int lowestFloor;
	int highestFloor;
	Elevator *elevator;
};

typedef struct Shaft Shaft;

Shaft* shaftConstruct(int lowestFloor, int highestFloor);
void shaftDeconstruct(Shaft *shaft);
void shaftAddDestination(Shaft *shaft, Destination *destination);
void shaftSendEvent(Shaft *shaft, elevatorEvent eventToExecute);

#endif